]> dgit.raspbian.org Git - gnome-shell.git/commit
status/brightness: Port to new MetaBacklight API
authorSebastian Wick <sebastian.wick@redhat.com>
Fri, 16 May 2025 15:24:48 +0000 (17:24 +0200)
committerMarge Bot <marge-bot@gnome.org>
Thu, 5 Jun 2025 20:38:39 +0000 (20:38 +0000)
commitf2d751095699f43034411e47f7db5d3bc11fc170
treed2652d66d08c37a30c81f0e2065ec57a8384addf
parentd3543cd9cff6f465d5e83be64f478245d887bf02
status/brightness: Port to new MetaBacklight API

Mutter has taken over controlling the backlights of the system from
gnome-settings-daemon. It now exposes MetaMonitors which can be reached
from MetaMonitorManager, and any of the MetaMonitors can have a
controllable backlight.

For now, we keep the current UX and simply set the backlight percentage
of the primary monitor's backlight (or the first monitor's backlight, if
the primary monitor doesn't have a backlight) on all monitors.

g-s-d is still responsible for reacting to keyboard shortcuts and
popping up the OSD notification, but that might change in the future.

The UI may change to make it possible to control individual backlights
in the future.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3715>
.gitlab-ci.yml
data/dbus-interfaces/org.gnome.SettingsDaemon.Power.Screen.xml [deleted file]
data/gnome-shell-dbus-interfaces.gresource.xml
js/ui/status/brightness.js